package com.smarthealthring.mm.contract;

import com.smarthealthring.mm.base.IPresenter;
import com.smarthealthring.mm.base.IView;
import com.smarthealthring.mm.bean.RegistRes;

import java.util.Map;

public interface UserRegistContract {
    interface View extends IView {

        void getVerifyCodeSuccess();
        void getVerifyCodeFail();

        void registSuccess(RegistRes response);
        void registFail();
    }

    interface Presenter extends IPresenter<View> {
        void getVerifyCode(Map<String,String> params);
        void regist(Map<String,String> params);
    }
}
